<%@page import="java.util.List"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/view-system/include/contentTaglib.jsp"%>

<html>
<head>
<title>导出结清证明</title>
	<script src="${ctxStaticSystem }/js/dataexport/exportHandleSettleProve.js" type="text/javascript" ></script>
</head> 
<body>
<tags:dataSet id="exportHandle">
	<tags:dataField name="handleClsprfid" visiable="false" display="办理结清证明记录ID"/>
	<tags:dataField name="custNo" display="客户编号" visiable="false" sort="false"  cssClass="table-header-center" width="25%"/>
	<tags:dataField name="custName" display="客户名称" visiable="true" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="loanNo" display="贷款编号" sort="false" visiable="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="sendType" display="结清证明方式" visiable="false" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="codeInfoName" display="结清证明方式" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="telNo" display="联系电话" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="addr" display="客户地址" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="emailAddr" display="邮件地址" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="handleStatus" display="处理状态" sort="false" visiable="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="handleDesc" display="描述" sort="false" visiable="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="handleStatusZw" display="处理状态" sort="false" visiable="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="updateTime" display="时间" sort="true" width="25%" cssClass="table-header-center"/>
</tags:dataSet>

<tags:ajax id="queryHandleSettleListAjax" url="${ctx}/sms/queryHandleSettle/queryList" type="post"
	contentType="application/x-www-form-urlencoded" formQuery="#handleSettleQueryFrm" formSubmit="true"
	autoSend="false"/>
<tags:ajax id="exportExcelAjax" url="${ctx}/sms/queryHandleSettle/queryExportExcel" type="post"
 	contentType="application/x-www-form-urlencoded" formQuery="#handleSettleQueryFrm" formSubmit="true" 
    autoSend="false" onSuccess="onExportSucc"/>
	
<tags:ajax id="exportExcelAllAjax" url="${ctx}/sms/queryHandleSettle/queryExportExcel" type="post"
 	contentType="application/x-www-form-urlencoded"
    autoSend="false" onSuccess="onExportAllSucc"/>
	
<tags:boards>
	<tags:board boardTitle="结清证明" width="100%">
		<form id="handleSettleQueryFrm" class='m-cust'>
			<div class="row form-group">
		  		<div class="col-md-4 col-sm-4">
		  			<div class="col-md-4 col-sm-4">
		  				<label class='m-label'>客户名称：</label>
		  			</div>
					<div class="col-md-8 col-sm-8">
						<input name="custName" class="form-control m-input" id="custName" type="text">
					</div>	
				</div>
				<div class="col-md-4 col-sm-4">
		  			<div class="col-md-4 col-sm-4">
		  				<label class='m-label'>贷款编号：</label>
		  			</div>
					<div class="col-md-8 col-sm-8">
						<input name="loanNo" class="form-control m-input" id="loanNo" type="text">
					</div>
				</div>
				<div class="col-md-4 col-sm-4">
					<div class="col-md-4 col-sm-4">
					 	<label class='m-label'>证明方式：</label>
					 </div>
					<div class="col-md-8 col-sm-8">
						<select name="sendType" class="form-control m-input" id="sendType">
						 <option value="">请选择</option>
						 <option value="01">电子版</option>
						 <option value="02">纸质版</option>
						</select>
					</div>
				</div>
<!-- 							<div class="col-md-2 item"> -->
<!-- 							 	<label >状态：</label> -->
<!-- 							 </div> -->
<!-- 							<div class="col-md-4"> -->
<!-- 								<select name="handleStatus" class="form-control m-input" id="handleStatus"> -->
<!-- 								 <option value="">请选择</option> -->
<!-- 								 <option value="01">已申请</option> -->
<!-- 								 <option value="07">已办理</option> -->
<!-- 								</select> -->
<!-- 							</div>	 -->
		  	</div>
		  	<div class="row form-group">
		  		<div class="col-md-4 col-sm-4 outrDiv">
		  			<div class="col-md-4 col-sm-4">
					 	<label class='m-label'>开始时间：</label>
					</div>
					<div class="col-md-8 col-sm-8">
						<tags:datepicker dateFormat="yyyy-MM-dd" name="startDate"
									dateType="date" id="startDate"/>
					</div>
				</div>
				<div class="col-md-4 col-sm-4 outrDiv">
					<div class="col-md-4 col-sm-4">
					 	<label class='m-label'>结束时间：</label>
					</div>
					<div class="col-md-8 col-sm-8">
						<tags:datepicker dateFormat="yyyy-MM-dd" name="endDate"
									dateType="date" id="endDate"/>
					</div>
				</div>
			</div>
			<div class="form-group">
			   	<button class="btn btn-warning m-btn" type="button" onclick="query()">查询</button>
			   	<button class="btn btn-default m-btn" type="reset">重置</button>
			  	<button class="btn btn-info m-btn" type="button" onclick="exportExcel()">导出excel</button>
<!-- 					  	<button class="btn " type="button" onclick="onExportAllSucc()">全部导出</button> -->
			</div>
			<div class="form-group">
				<div data-tag="结清证明" >
					<tags:datatable id="gruopInfoDataTable" storage="false"  
						ajax="queryHandleSettleListAjax" dataSet="exportHandle" 
						pagination="handleSettlePagination" striped="true" 
						cutLine="true" />
					<tags:pagination pageSize="10" id="handleSettlePagination" 
					    pageChoice="10" datatable="gruopInfoDataTable"/>	
				</div>
			</div>
		</form>	 
	</tags:board>
</tags:boards>
</body>
	
</html>